package saxion.speelveld.spaceengineer.buildings;

import saxion.speelveld.spaceengineer.R;
import saxion.speelveld.spaceengineer.model.ProducingBuilding;
import saxion.speelveld.spaceengineer.model.Resource;
import saxion.speelveld.spaceengineer.model.ResourceType;

public class SpaceCenter extends ProducingBuilding
{

	public SpaceCenter()
	{
		super(3, 3);
		super.setBuildingName(SpaceCenter.this.getClass().getSimpleName());
		super.setBuildingExplanation("The Space Center....");
		super.resourceCosts.add(new Resource(ResourceType.MONEY, 1000));
		super.resourceCosts.add(new Resource(ResourceType.ELECTRICITY, 50));
		super.resourceCosts.add(new Resource(ResourceType.WATER, 200));
		super.resourceCosts.add(new Resource(ResourceType.GLASS, 100));
		super.resourceCosts.add(new Resource(ResourceType.METAL, 300));

		super.addResourceProduceGain(new Resource(ResourceType.STORAGESPACE, 1000, false));
		super.addResourceProduceGain(new Resource(ResourceType.POPULATIONCAP, 100, false));

		// should always be true for spacecenter
		super.setConnectedToSpaceCenter(true);

		super.resourceImages = new int[9];
		super.resourceImages[0] = R.drawable.spacecenter_0;
		super.resourceImages[1] = R.drawable.spacecenter_1;
		super.resourceImages[2] = R.drawable.spacecenter_2;
		super.resourceImages[3] = R.drawable.spacecenter_3;
		super.resourceImages[4] = R.drawable.spacecenter_4;
		super.resourceImages[5] = R.drawable.spacecenter_5;
		super.resourceImages[6] = R.drawable.spacecenter_6;
		super.resourceImages[7] = R.drawable.spacecenter_7;
		super.resourceImages[8] = R.drawable.spacecenter_8;
		super.setPreviewResourceImageId(R.drawable.spacecenter);
	}

	// @Override
	// public int produceGoods()
	// {
	// return 0;
	// }

}
